package com.oa.oaspcpersonalcenter.service;


import com.oa.oaspccommon.po.User;

import java.util.List;

/**
 * @author Sdx
 * 2021-04-15
 */
public interface UserService {
    //    登录
    public User findUserByUsername(String username);

    //    修改密码
    public User changePassword(String user);

    //    查询所有
    public List<User> findUsers();

    //    查询单个
    public User findUserByUid(int uid);

    //    增加
    public boolean addUser(User user);

    //    修改
    public boolean updateUser(User user);

    //    删除
    public boolean deleteUserByUid(int uid);


}
